<?php
/**
 * golangshop商城系统 - 团队十年电商经验汇集巨献!
 * =========================================================
 * Copy right 2019-2029 杭州瑞璞玉数字科技有限公司, 保留所有权利。
 * ----------------------------------------------
 * 官方网址: https://www.golangshop.com
 * =========================================================
 */


namespace addon\mobileshop\event;

use addon\mobileshop\shop\controller\Config;
use addon\mobileshop\model\Config as ConfigModel;

/**
 * 商家端网站部署配置
 */
class SiteDeployData
{

    /**
     * 商家端网站部署配置
     */
    public function handle($data)
    {
        $config_model = new Config();
        $site_deploy_data = $config_model->deploy();
        return [
            'type' => 'mshop',
            'html' => $site_deploy_data,
            'sort' => 4
        ];
    }
}